/**
 * 漆水河 脚手架基础公开课
 * 2022/8/13 --- 2022/12/13
 * 有疑问可加QQ群: 809126489，后续会持续输出与大家一起成长
 */
package com.qishuihe.outbound.user;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("角色和用户关系")
@Data
public class RoleUserDTO {

      @ApiModelProperty("ID")
      @JsonSerialize(using= ToStringSerializer.class)
      private   Long id ;
      @ApiModelProperty("角色ID")
      private   Long roleId;
      @ApiModelProperty("用户ID")
      private   Long userId;
}
